package com.pro.service.imple;

import com.pro.dao.ProductCaegoryMapper ;
import com.pro.service.ProductCaegoryService;
import com.sun.media.jfxmedia.logging.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ClassName: ProductCaegoryServiceImple
 * @Author: 笑笑
 * @DATE: 2021/11/6
 * @TIME: 下午 02:39
 */
@Service
public class ProductCaegoryServiceImple implements ProductCaegoryService {

    @Autowired
    private ProductCaegoryMapper productCaegoryMapper;
    //根据分类名称查询分类
    @Override
    public Integer getByName(String categroyTitle) {
        return productCaegoryMapper.getByName(categroyTitle);
    }
}
